Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Java 7 instead of Java 1 and custom code #30

Closed
wants to merge 2 commits into from

Conversation

mkarg
Copy link
Collaborator

@mkarg mkarg commented Jun 29, 2017

Slightly improving performance and reducing code size by replacement of custom code and Java 1 by Java 7.

@michael-o
Copy link
Member

Plexus Utils still requires Java 6. Parts of this PR aren't possible.

@mkarg
Copy link
Collaborator Author

mkarg commented Jun 30, 2017

@michael-o It might be a good idea if Travis could check wheter JRE 7+ code used, to prevent people like me sending such PRs. :-)

@michael-o
Copy link
Member

We have an enforcer rule for that. In fact, it does use Java 7 code but only if Java 7 is used at runtime.

@mkarg
Copy link
Collaborator Author

mkarg commented Jul 2, 2017

I divided my commits into two separate PRs, one for Java 6 and one for Java 7.

Please see #31 for the changes which work on Java 6.

I'd like to propose to open a branch for future Java 7 changes.

@michael-o
Copy link
Member

As soon as we start using Java 7 these methods get obsolete, I'd deprecate them.

@michael-o michael-o self-assigned this Jul 3, 2019
@michael-o michael-o added this to the 3.2.1 milestone Jul 3, 2019
@michael-o michael-o closed this in d00901b Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants